<?php

    // TITLE: listProjectStatus
    // FILE: shared/listProjectStatus.php
    // AUTHOR: des301

?>
<table>
    <thead>
	<tr>
	    <th>status</th>
	    <th>when_changed</th>
	    <th>who_changed</th>
	    <th>when_authorized</th>
	    <th>who_authorized</th>
	</tr>
    </thead>
    <tbody>
    <?php foreach ($fields as $field)  { ?>
	<tr onclick="goto('<?php echo $projectStatusChange->getId(); ?>');">
	    <td><?php echo $projectStatusChange->getStatus()->getTitle(); ?></td>
	    <td><?php echo $projectStatusChange->getWhenChanged(); ?></td>
	    <td><?php echo $projectStatusChange->getWhoChanged()->getFullName(); ?></td>
	    <td><?php echo $projectStatusChange->getWhenAuthorized(); ?></td>
	    <td><?php echo $projectStatusChange->getWhoAuthorized()->getFullName(); ?></td>
	</tr>
    <?php } ?>
    </tbody>
</table>